package com.eshop.modules.activity.vo;

import io.swagger.annotations.ApiModelProperty;
import com.eshop.modules.activity.service.dto.SeckillTimeDto;
import java.util.List;

public class SeckillConfigVo
{
    @ApiModelProperty("秒杀产品时间信息")
    private List<SeckillTimeDto> seckillTime;
    private String lovely;
    @ApiModelProperty("秒杀产品时间索引")
    private Integer seckillTimeIndex;
    
    public List<SeckillTimeDto> getSeckillTime() {
        return this.seckillTime;
    }
    
    public String getLovely() {
        return this.lovely;
    }
    
    public Integer getSeckillTimeIndex() {
        return this.seckillTimeIndex;
    }
    
    public void setSeckillTime(final List<SeckillTimeDto> seckillTime) {
        this.seckillTime = seckillTime;
    }
    
    public void setLovely(final String lovely) {
        this.lovely = lovely;
    }
    
    public void setSeckillTimeIndex(final Integer seckillTimeIndex) {
        this.seckillTimeIndex = seckillTimeIndex;
    }
    
    @Override
    public boolean equals(final Object o) {
        if (o == this) {
            return true;
        }
        if (!(o instanceof SeckillConfigVo)) {
            return false;
        }
        final SeckillConfigVo other = (SeckillConfigVo)o;
        if (!other.canEqual(this)) {
            return false;
        }
        final Object this$seckillTimeIndex = this.getSeckillTimeIndex();
        final Object other$seckillTimeIndex = other.getSeckillTimeIndex();
        Label_0065: {
            if (this$seckillTimeIndex == null) {
                if (other$seckillTimeIndex == null) {
                    break Label_0065;
                }
            }
            else if (this$seckillTimeIndex.equals(other$seckillTimeIndex)) {
                break Label_0065;
            }
            return false;
        }
        final Object this$seckillTime = this.getSeckillTime();
        final Object other$seckillTime = other.getSeckillTime();
        Label_0102: {
            if (this$seckillTime == null) {
                if (other$seckillTime == null) {
                    break Label_0102;
                }
            }
            else if (this$seckillTime.equals(other$seckillTime)) {
                break Label_0102;
            }
            return false;
        }
        final Object this$lovely = this.getLovely();
        final Object other$lovely = other.getLovely();
        if (this$lovely == null) {
            if (other$lovely == null) {
                return true;
            }
        }
        else if (this$lovely.equals(other$lovely)) {
            return true;
        }
        return false;
    }
    
    protected boolean canEqual(final Object other) {
        return other instanceof SeckillConfigVo;
    }
    
    @Override
    public int hashCode() {
        final int PRIME = 59;
        int result = 1;
        final Object $seckillTimeIndex = this.getSeckillTimeIndex();
        result = result * 59 + (($seckillTimeIndex == null) ? 43 : $seckillTimeIndex.hashCode());
        final Object $seckillTime = this.getSeckillTime();
        result = result * 59 + (($seckillTime == null) ? 43 : $seckillTime.hashCode());
        final Object $lovely = this.getLovely();
        result = result * 59 + (($lovely == null) ? 43 : $lovely.hashCode());
        return result;
    }
    
    @Override
    public String toString() {
        return "SeckillConfigVo(seckillTime=" + this.getSeckillTime() + ", lovely=" + this.getLovely() + ", seckillTimeIndex=" + this.getSeckillTimeIndex() + ")";
    }
}
